import request from ".";


export const Login = (phone,password,captchaCode) => {
  return request({
    url: "user/login",
    method: "post",
    data: {
      phone: phone,
      password: password,
      role_id: 3,
    },
    params: {
      captchaCode: captchaCode,
    },
  });
};
//获取验证码
export const getVertify = () => {
  return request({
    url: "/user/getVerify",
    method: "get",
  });
};
